package org.jeecg.modules.zcgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.zcgl.entity.OrderDetails;

import java.util.List;

/**
 * @Description: 微信用户付款订单详情信息
 * @Author: jeecg-boot
 * @Date:   2020-07-13
 * @Version: V1.0
 */
public interface OrderDetailsMapper extends BaseMapper<OrderDetails> {

	public boolean deleteByMainId(@Param("mainId") String mainId);

	public boolean deletePhysicalByMainId(@Param("mainId") String mainId);

	public List<OrderDetails> selectByMainId(@Param("mainId") String mainId);

	void updatePayStatusByMainId(@Param("mainId") String id, @Param("payStatus") Integer payStatus);
}
